From 1bc5147c849ef181327938f49e718dd669ddf532 Mon Sep 17 00:00:00 2001 From: "cl349@firebug.cl.cam.ac.uk" Date: Fri, 16 Sep 2005 20:02:18 +0000 Subject: [PATCH] Remove pretty random cleanup code in _add_domain. Signed-off-by: Christian Limpach --- tools/python/xen/xend/XendDomain.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tools/python/xen/xend/XendDomain.py b/tools/python/xen/xend/XendDomain.py index 5cf5fda6be..28834b672d 100644 --- a/tools/python/xen/xend/XendDomain.py +++ b/tools/python/xen/xend/XendDomain.py @@ -177,11 +177,6 @@ class XendDomain: @param info: domain info object @param notify: send a domain created event if true """ - # Remove entries under the wrong id. - for i, d in self.domains.items(): - if i != d.domid: - del self.domains[i] - self.dbmap.delete(d.uuid) if info.domid in self.domains: notify = False self.domains[info.domid] = info -- 2.30.2